package com.ruoyi.system.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.AppBanner;

/**
 * appBannerMapper接口
 * 
 * @author DEREK
 * @date 2023-12-06
 */
public interface AppBannerMapper extends BaseMapper<AppBanner>
{
    /**
     * 查询appBanner
     * 
     * @param id appBanner主键
     * @return appBanner
     */
    public AppBanner selectAppBannerById(Long id);

    /**
     * 查询appBanner列表
     * 
     * @param appBanner appBanner
     * @return appBanner集合
     */
    public List<AppBanner> selectAppBannerList(AppBanner appBanner);

    /**
     * 新增appBanner
     * 
     * @param appBanner appBanner
     * @return 结果
     */
    public int insertAppBanner(AppBanner appBanner);

    /**
     * 修改appBanner
     * 
     * @param appBanner appBanner
     * @return 结果
     */
    public int updateAppBanner(AppBanner appBanner);

    /**
     * 删除appBanner
     * 
     * @param id appBanner主键
     * @return 结果
     */
    public int deleteAppBannerById(Long id);

    /**
     * 批量删除appBanner
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAppBannerByIds(Long[] ids);
}
